using System;
using Styx;

namespace ChiWalker.Dynamics
{
    [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
    internal sealed class SpecAttribute : Attribute
    {
        // I know this is .NET 4.0. But for some reason, this is throwing attribute format exceptions when used with a default
        // argument. So this specific ctor overload is to prevent issues finding the correct class/advclass combos.
        public SpecAttribute(WoWSpec @spec)
        {
            CharacterSpec = @spec;
        }

        public WoWSpec CharacterSpec { get; private set; }
    }
}